package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.math.BigInteger;

@FieldTypeAnnotation(tableName = "t_l_ck_hunt_kill", desc = "狩猎击杀日志", autoSave = true, uploadCk = true)
public class LogHuntKill extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "第几只怪物")
    private int monsterIndex;
    @FieldTypeAnnotation(desc = "宝箱uid")
    private String huntBoxUid;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;
    @FieldTypeAnnotation(desc = "旧积分")
    private BigInteger oldScore;
    @FieldTypeAnnotation(desc = "当前积分")
    private BigInteger huntScore;

    public LogHuntKill(long userId, int monsterIndex, String huntBoxUid, String reward, BigInteger oldScore, BigInteger huntScore) {
        this.userId = userId;
        this.monsterIndex = monsterIndex;
        this.huntBoxUid = huntBoxUid;
        this.reward = reward;
        this.oldScore = oldScore;
        this.huntScore = huntScore;
    }

    public long getUserId() {
        return userId;
    }

}
